package com.thwj.project.biz.domain;

    import java.util.Date;
    import com.baomidou.mybatisplus.annotation.*;
    import lombok.*;;
    import com.fasterxml.jackson.annotation.JsonFormat;
    import java.io.Serializable;
import com.thwj.common.annotation.Excel;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * 用户滴滴申请对象 biz_user_dd
 *
 * @author generate
 * @date 2023-08-15
 */

@Getter
@Setter
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("biz_user_dd")
public class UserDd extends Model<UserDd>{
private static final long serialVersionUID=1L;

    /** 主键 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 发起人 */
            @Excel(name = "发起人")
    private Long sendUserId;

    /** 接收人 */
            @Excel(name = "接收人")
    private Long receivedUserId;

    /** 状态（1：待审核 2：审核通过 3：审核不通过） */
            @Excel(name = "状态", readConverterExp = "1=：待审核,2=：审核通过,3=：审核不通过")
    private Integer status;

    /** 创建时间 */
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
            @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    /** 修改时间 */
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
            @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;




    @Override
    public Serializable pkVal() {
        return this.id;
    }
}
